package com.trust.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author ccc
 * @since 2023-11-24 17:09:30
 */
@Data
@TableName("purchase")
public class Purchase {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("负责人")
    private Integer principal;

    @ApiModelProperty("采购时间")
    private Date purchaseTime;

    @ApiModelProperty("记录人")
    private Integer recorder;

    @ApiModelProperty("采购描述")
    private String description;

    @ApiModelProperty("0待入库 1已入库")
    private Integer state;

    @ApiModelProperty("采购单号")
    private String code;


}